package site.teamo.biu.net.common.util;

import jakarta.servlet.http.HttpServletRequest;

/**
 * @author haocongshun
 * @date 2023/06/12 10:46:37
 */
public class URLUtil extends cn.hutool.core.util.URLUtil {
    public static String getBaseURL(HttpServletRequest request) {
        return request.getRequestURL().toString().replace(request.getRequestURI(), "");
    }
}
